﻿using Oxage.CNC;
using Oxage.Windows.Controls;

namespace Oxage.Commands
{
	[CommandLineHandler("exit", "Exit application without saving the document")]
	public class ExitApplicationCommandLineHander : ICommandLineHandler
	{
		#region ICommandLineHandler Members
		public void Run(IConsole console, string line, string command, Arguments args)
		{
			App.Current.Shutdown(0);
		}
		#endregion
	}
}
